<template>
  <div class="index">
    <el-container>
      <el-aside width="200px">
        <el-menu
          :default-active="$route.path"
          class="el-menu-vertical-demo"
          active-text-color="orange"	
          router
          >
          <el-menu-item index="/index/business">
            <i class="el-icon-menu"></i>
            <span slot="title">出差申请</span>
          </el-menu-item>

          <el-menu-item index="/index/outside">
            <i class="el-icon-document"></i>
            <span slot="title">外勤打卡</span>
          </el-menu-item>

          <el-menu-item index="/index/leave">
            <i class="el-icon-setting"></i>
            <span slot="title">请假申请</span>
          </el-menu-item>

          <el-menu-item index="/index/work">
            <i class="el-icon-setting"></i>
            <span slot="title">加班申请</span>
          </el-menu-item>

        </el-menu>
      </el-aside>
      <el-main>
        <!-- 二级路由组件渲染出口 -->
        <router-view></router-view>
      </el-main>
    </el-container>
  </div>
</template>

<script>
export default {

}
</script>

<style>

</style>